﻿using Estsh.Core.Dapper;
using Estsh.Core.Extensions;
using Estsh.Core.IRepositories;
using Estsh.Core.IServices;
using Estsh.Core.Repositories;
using Estsh.Core.Services;
using Microsoft.AspNetCore.Mvc.ApplicationParts;
using System.Runtime.Loader;

namespace Estsh.Core.Web.Plugin.Wms
{
    public class Startup
    {
        public Startup(IConfiguration configuration)
        {
            Configuration = configuration;
        }

        public IConfiguration Configuration { get; }
        public void ConfigureServices(IServiceCollection services)
        {
            services.PluginStartup(Configuration);

        }

        public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
        {
            app.PluginAppBuilder(env);
        }
    }
}
